package com.logicalthinking.socialmall.service;

import com.github.chenlijia1111.utils.common.Result;
import com.logicalthinking.socialmall.common.vo.requestVo.clientUser.ClientUserShopApplyQueryParams;
import com.logicalthinking.socialmall.common.vo.responseVo.clientUser.ShopApplyUserListVo;
import com.logicalthinking.socialmall.entity.ClientAuthenticateShop;

import java.util.List;

/**
 * 商家认证信息
 *
 * @author chenLiJia
 * @since 2020-02-18 13:56:25
 **/
public interface ClientAuthenticateShopServiceI {

    /**
     * 添加
     *
     * @param params 1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    Result add(ClientAuthenticateShop params);

    /**
     * 添加
     *
     * @param params 1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    Result update(ClientAuthenticateShop params);

    /**
     * 条件查询
     *
     * @param condition 1
     * @return * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    List<ClientAuthenticateShop> listByCondition(ClientAuthenticateShop condition);

    /**
     * 根据用户id查询认证信息
     *
     * @param userId
     * @return
     */
    ClientAuthenticateShop findByUserId(Integer userId);

    /**
     * 查询申请商家列表
     * 查询 {@link ClientAuthenticateShop}
     *
     * @param params
     * @return
     */
    List<ShopApplyUserListVo> listShopApplyUserListVo(ClientUserShopApplyQueryParams params);

}
